package com.tcoiss.message.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.tcoiss.message.domain.MqCommonRegistry;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface MqCommonRegistryMapper extends BaseMapper<MqCommonRegistry> {

    public List<MqCommonRegistry> pageList(@Param("offset") int offset, @Param("pagesize") int pagesize);

    public MqCommonRegistry load(@Param("key") String key);

    public int add(@Param("commonRegistry") MqCommonRegistry commonRegistry);

    public int update(@Param("commonRegistry") MqCommonRegistry commonRegistry);

    public int cleanDead();

}
